<?php

$root_path="/";
if(defined("ADMIN")) $root_path="../";

require($root_path . 'config.php');
require($root_path . 'includes/db/' . $dbms . '.' . $phpEx);
include_once($root_path . 'includes/functions.php');

$db=new $sql_db();
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);
$fcache=array();
$icache=array();
?>